package com.ftg.midamall.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ftg.midamall.admin.dto.UserInfo;
import com.ftg.midamall.admin.entity.UmsAdmin;
import com.ftg.midamall.admin.entity.UmsMenu;
import com.ftg.midamall.admin.vo.UmsAdminVo;
import com.ftg.midamall.admin.vo.UmsMenuTreeVo;
import com.ftg.midamall.comm.vo.RespMessUtil;

import java.util.List;

/**
 * <p>
 * 后台菜单表服务类
 * </p>
 *
 * @author qjw
 * @since 2023-10-20
 */
public interface IUmsMenuService extends IService<UmsMenu> {

    RespMessUtil<List<UmsMenuTreeVo>> showMenuByAdminId(String token);

    /**
     * 展示菜单树
     * @return
     */
    RespMessUtil<List<UmsMenuTreeVo>> allMenuForTree();
}
